package com.spring.lesson.generic;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import javax.annotation.Resource;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:application-generic.xml")
public class TestGeneric {

    @Resource
    private UserServiceImpl userService;

    @Test
    public void test1() {
        userService.test1();
    }
}
